package com.imooc;

public class VarDemo {

	public static void main(String[] args) {
		//定义两个整型变量x，y
		int x,y;
		//System.out.println("x="+x);//The local variable x may not have been initialized
		x=0;
		y=0;
		System.out.println("x="+x+" "+"y="+y);
		int x1 =0,y1=0;
		System.out.println("x1="+x1+" "+"y1="+y1);
		System.out.print(x1+"\t"+y1+"\n");
		System.out.println("\'"+y1+"\'");
		
		//用科学计数法表示浮点型数据1.23乘以10的五次方
		double d = 1.23E5;
		float f = 1.23e5f;
		System.out.println("d="+d+" "+"f="+f);
		
	}

}
